9 while (cin
>> n
>> gx
>> gy
>> dx
>> dy
){
13 for (int i
=0; i
<n
; ++i
){
19 g
= sqrt(pow(gx
- hx
,2)+pow(gy
- hy
,2));
20 d
= sqrt(pow(dx
- hx
,2)+pow(dy
- hy
,2));
23 printf("The gopher can escape through the hole at (%.3f,%.3f).\n", hx
, hy
);
27 if (!escaped
) cout
<< "The gopher cannot escape.\n";